home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 May / macpower199705.bin / AMUG / UTILITY / TurboFind 2.1 FAT.sit / TurboFind 2.1 / Documentation SimpleText / Documentation SimpleText
Encoding:
Text File  |  1997-01-08  |  10.1 KB  |  219 lines  |  [ttro/ttxt]

  1. TurboFind
  2.  
  3.  
  4.  
  5. Fast searching of files in a folder hierarchy.
  6.  
  7. Operation
  8.  
  9. Run the program, drag a folder from the Finder to the window, type in the word you want to find and press Return to start searching. Command-Period aborts the search.
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. The list of files that contain the word you entered will be shown progressively as the search continues. Double-click the filename to view the file. The found word is shown in context in the list.
  27.  
  28. Double-click the line to view the file in a text window. Here you can find the word you searched for, or other words in this window.
  29.  
  30. You can save a document with the find string and a start folder in a document to use again in the future. I recommend saving documents with useful start folders.
  31.  
  32. Details
  33.  
  34. I wrote this little app primarily for speed, but it uses asynchronous file reads and the Thread Manager so it is kind to other apps and runs smoothly in the background. By default it only searches in files of type 'TEXT' and only in the first 2Mb of the file (although the entire file will be viewed if there is enough memory).
  35.  
  36. TurboFind first looks at the file name to see if that matches what you are looking for, if the search content option is on in the preferences, TurboFind looks in the data of the file for the string you are searching for.
  37.  
  38. The search will cover all files inside the start folder you drag in to window and shown the "Inノ" field and will recurse down through all subfolders in it.
  39.  
  40. You can also launch TurboFind by dragging a folder or disk to the program icon to set the search place.
  41.  
  42. Once a line in the found list is selected (either by clicking, or with the down/up arrow keys), pressing the Enter key will view the file.
  43.  
  44. You can use menus or key equivalents to: reveal the selected file in the Finder, get Info in the Finder, or メRunモ the file in the Finder (equivalent to double-clicking it).
  45.  
  46. When you start searching TurboFind will try to count all the files in the folder hierarchy you gave so that it can give you a progress thermometer. (If this takes more than 10 seconds, it just starts searching with the メbarber poleモ pattern.)
  47.  
  48. Advanced searching
  49.  
  50. If you enter more than one word in the find field, separated by spaces, then only those files that contain all of the words will be included in the hit list.
  51.  
  52. If you use regular expressions, they have their own way of doing this ANDing, refer to documentation on regular expressions for info on this.
  53.  
  54. If メShow all matchesモ is off then files with all words anywhere in them will be included in the hit list.
  55.  
  56. If メShow all matchesモ is on only files with all words on the same line will have that line included in the hit list.
  57.  
  58. Iユm sorry if this seems confusing, but in practice, it seems to be the way I, at least expect it to work.
  59.  
  60. Preferences
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. If メSearch file contentモ is on, TurboFind looks in the file data.
  83. If メFast modeモ is on TurboFind is unkind to other applications.
  84. If メSearch all file typesモ is off, only TEXT files are searched (the default).
  85. If メCase sensitiveモ is on, only matches with the same capitalisation are found.
  86. メRegular expressionsモ are a powerful way to describe text match patterns.
  87. You can choose how many thousand characters of a file (k) to search.
  88. If メSort the hit listモ sorts the list of matching filenames alphabetically.
  89. メShow all matchesモ will show each line of the file that contains a match.
  90. You can view in TurboFind, with XTND to show styles, if available, or
  91. You can choose an external application to be asked to view the document.
  92. Files can be saved from the text view window and you can choose the creator.
  93.  
  94. Note that if you メfeel the need for speedモ, search without regular expressions and with show all matches off and the list of matching files will come up most quickly.
  95.  
  96. There is balloon help on the items in the preferences dialog.
  97.  
  98. Licensing
  99.  
  100. TurboFind is ゥ 1996 Peter Marks, if you find that you use it more than 20 times a US$10 shareware fee is required.
  101.  
  102. When you register, Iユll email you the PowerPC native version, which is really fast!
  103.  
  104. Here is the pricing schedule:
  105. Each single user license is US$10 per user. (Cheap considering the time it saves you!)
  106. A site license costs US$500, and covers all users for your organisation within a 160 kilometre radius of your site (100 miles). One big advantage of a Site License is that you donユt need to keep track of how many people at your site are using the software.
  107. A World-Wide License costs US$2000 and it covers all locations for your organisation on the planet earth.
  108.  
  109. Paying is easy!
  110.  
  111. Paying for TurboFind is simple. You can register via the web at:
  112.  
  113. <http://kagi.direct.net/cgi-bin/register1.cgi?VZ> 
  114.  
  115. (If you have Internet Config 1.2 or later you can click on the URL in the TurboFind about box). Or...
  116.  
  117. Open the Register program that accompanies TurboFind. Enter your name, your email address, and the number of single user licenses you desire to purchase (or Site or World-Wide licenses). Save or Copy or Pint the data from the Register program and send the data and payment to Kagi. Kagi handles my payment processing.
  118.  
  119. If paying with Credit Card or First Virtual, you can email or fax the data to Kagi. Their email address is sales@kagi.com and their fax is +1 510 652-6589. You can either Copy the data from Register and paste into the body of an email message or you can Save the data to a file and attach the file to an email message. There is no need to compress the data, itユs already pretty small. If you have a fax modem, just Print the data to the Kagi fax number.
  120.  
  121. Payments sent via email are processed within 3 to 4 days. You will receive an email acknowledgement when it is processed. Payments sent via fax take up to 10 days and if you provide a correct internet email address you will receive an email acknowledgement.
  122.  
  123. Copyrights
  124.  
  125. TurboFind is ゥ 1996-1997 by Peter Marks.
  126.  
  127. Regular expression library ゥ 1986 by University of Toronto. As altered by John Gilmore, James A. Woods, and Thomas R. Kimpton,
  128.  
  129. WASTE Text engine ゥ 1993-1995 Marco Piovanelli, used the wrapper class by ゥ1995 Hiroshi Lockheimer and Timothy Paustian.
  130.  
  131. LBalloonTracker is ゥ 1996 Corporate Software & Technologies Int. Inc. (CS&T)
  132.  
  133. Limitations
  134.  
  135. Peter Marks accepts no responsibility for any damage done by this software.
  136.  
  137. Thanks
  138.  
  139. Mark Nagata for professional bug reporting and feature suggestions.
  140. Pete Gontier for MoreFinderEvents. (A living international treasure).
  141. Jim Luther for MoreFiles. (So great it should be in the toolbox!).
  142. Metrowerks and Greg Dow for CodeWarrior and PowerPlant.
  143. Marco Piovanelli for the WASTE text edit engine.
  144. Hiroshi Lockheimer and Timothy Paustian for the wrapper class for PowerPlant.
  145. Struan Robertson and Allan Bell for feedback and support.
  146. Kagi for having thought things out so well.
  147. Peter N Lewis for the Register application, Internet Config, and feedback.
  148. LBalloonTracker is ゥ 1996 Corporate Software & Technologies Int. Inc. (CS&T).
  149. Markus Gail for improving the icons and letting me ship them.
  150.  
  151. What users have said
  152.  
  153. Don Crabb
  154.  
  155. メTurboFind 2.0 is cool. TurboFind is way useful. And TurboFind is really, really fast.モ
  156.  
  157. Mark, a Japanese userノ
  158. メIt works great, both on my IIci running System J1-7.1 and on my PB5300ce running System J1-7.5.5.  The filenames are beautifully displayed with Osaka 9pt font.モ
  159.  
  160. Garyノ
  161. メWow, it is really great.  You should ask for a penny for each minute it saves the users.  You would be rich real soon. Thanks for a really great tool.モ
  162.  
  163. Fredericoノ
  164. "You did it again! Congratulations and thanks for your useful TurboFind. "
  165.  
  166. Farhadノ
  167. "TurboFind is cool. Something to replace XXXXX with. The drag into the window is nice..."
  168.  
  169. Tomノ
  170. "Turbofind works well -- good job."
  171.  
  172. Jeanノ
  173. "1) well done."
  174.  
  175. Collections which have been given permission to include TurboFind: MacAddict, MacWorld (Polish edition), Mac Fan (Japan), 
  176.  
  177. History
  178.  
  179. 2.0  Released as ShareWare.
  180. 2.1  Threaded version released.
  181.  
  182. Regular Expression Syntax
  183.  
  184. If the regular expression option is checked in the preferences, then the filename, and then (if search content is on), each line of the content of each file is searched for a match with the regular expression you entered.
  185.  
  186. Regular expression are a rather obscure, but very powerful way of expressing a string of text you wish to find. The notes here are for experienced users, if you havenユt used this stuff before I suggest you look for a tutorial in a unix book on grep.
  187.  
  188. This is reproduced from the class posted by Thomas R. Kimpton to the Metrowerks PowerPlant archive (Thanks Thomas!).
  189.  
  190. A regular expression is zero or more branches, separated by '|'.
  191. It matches anything that matches one of the branches.
  192.  
  193. A branch is zero or more pieces, concatenated.
  194. It matches a match for the first, followed by a match for the second, etc.
  195.  
  196. A piece is an atom possibly followed by '*', '+', or '?'.
  197. An atom followed by '*' matches a sequence of 0 or more matches of the atom.
  198. An atom followed by '+' matches a sequence of 1 or more matches of the atom.
  199. An atom followed by '?' matches a match of the atom, or the null string.
  200.  
  201. An atom is a regular expression in parentheses (matching a match for the
  202. regular expression), a range (see below), '.' (matching any single character), '^' (matching the null string at the beginning of the input string), '$' (matching the null string at the end of the input string), a '¥' followed by a single character (matching that character), or a single character with no other significance (matching that character).
  203.  
  204. A range is a sequence of characters enclosed in '[]'.
  205. It normally matches any single character from the sequence.
  206. If the sequence begins with '^', it matches any single character not from the rest of the sequence. If two characters in the sequence are separated by '-', this is shorthand for the full list of ASCII characters between them
  207. (e.g. '[0-9]' matches any decimal digit).
  208.  
  209. To include a literal ']' in the sequence, make it the first character (following a possible '^'). To include a literal '-', make it the first or last character.
  210.  
  211. Notes
  212.  
  213. ・ If you double-click on a binary file of some kind that canユt be viewed with XTND (or if itユs off) it can take a long time for the view window to open.
  214. ・ If the use XTND checkbox is dimmed on a PowerPC it might be because you donユt have the メXTND Power Enablerモ extension installed.
  215.  
  216. [End]